package cn.edu.scau.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

/**
 * 增 删 改 查
 * 
 * @author cxywan
 *
 * @param <T>
 */
public interface WorkService<T> extends BaseService<T> {


	// 根据id获得实体(WorkService)
	T getWorkByID(Integer id);

	// 获取前后台属性
	List getPropertyOfWork(Integer columnID, Integer page, Integer pageSize, Boolean frontOrBack);

	// 保存图片
	List<String> saveImage(MultipartFile[] files, HttpServletRequest request, String releaseDate);

}
